package com.syni.mdd.sjb.common.component.utils.feign.dto.mddUser;
import lombok.Data;

import java.util.Set;

@Data
public class LoginDxshAppUserDto {
    private String token;
    private DxshAppUserInfo dxshAppUserInfo;
    private User user;
    private String syniToken;
    private boolean isLoginBySuperPwd = false;
    private Integer userId;
    private String accountId;
    private String phone;
    private Integer isShopAssistant = 0;
    private Integer belongsToBusinessId;
    private Integer managerBusinessNum = 0;
    private Integer channel;

    @Data
    public static class DxshAppUserInfo {
        private Integer userId;
        private String headImg;
        private String surName;
        private String name;
        private Integer sex;
        private Integer age;
    }
    @Data
    public static class User{
        private String phone;
        private Set<Integer> businessRole; //3店员
        private Integer mddRole = 2;
    }
}
